<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>


<script>

    // for
    var num = 1;

    for(;num > 0;){
        console.log(num);
        num++;
    }
</script>
</body>
</html>